/**
 * Copyright (C) 2011 Andrew C. Love (DNC) <dnc.app.sup@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.dnc.cloak.framework.persistence.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EtlJobExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public EtlJobExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEtlJobNameIsNull() {
            addCriterion("ETL_JOB_NAME is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameIsNotNull() {
            addCriterion("ETL_JOB_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameEqualTo(String value) {
            addCriterion("ETL_JOB_NAME =", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameNotEqualTo(String value) {
            addCriterion("ETL_JOB_NAME <>", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameGreaterThan(String value) {
            addCriterion("ETL_JOB_NAME >", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameGreaterThanOrEqualTo(String value) {
            addCriterion("ETL_JOB_NAME >=", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameLessThan(String value) {
            addCriterion("ETL_JOB_NAME <", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameLessThanOrEqualTo(String value) {
            addCriterion("ETL_JOB_NAME <=", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameLike(String value) {
            addCriterion("ETL_JOB_NAME like", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameNotLike(String value) {
            addCriterion("ETL_JOB_NAME not like", value, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameIn(List<String> values) {
            addCriterion("ETL_JOB_NAME in", values, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameNotIn(List<String> values) {
            addCriterion("ETL_JOB_NAME not in", values, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameBetween(String value1, String value2) {
            addCriterion("ETL_JOB_NAME between", value1, value2, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobNameNotBetween(String value1, String value2) {
            addCriterion("ETL_JOB_NAME not between", value1, value2, "etlJobName");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeIsNull() {
            addCriterion("ETL_JOB_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeIsNotNull() {
            addCriterion("ETL_JOB_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeEqualTo(String value) {
            addCriterion("ETL_JOB_TYPE =", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeNotEqualTo(String value) {
            addCriterion("ETL_JOB_TYPE <>", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeGreaterThan(String value) {
            addCriterion("ETL_JOB_TYPE >", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ETL_JOB_TYPE >=", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeLessThan(String value) {
            addCriterion("ETL_JOB_TYPE <", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeLessThanOrEqualTo(String value) {
            addCriterion("ETL_JOB_TYPE <=", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeLike(String value) {
            addCriterion("ETL_JOB_TYPE like", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeNotLike(String value) {
            addCriterion("ETL_JOB_TYPE not like", value, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeIn(List<String> values) {
            addCriterion("ETL_JOB_TYPE in", values, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeNotIn(List<String> values) {
            addCriterion("ETL_JOB_TYPE not in", values, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeBetween(String value1, String value2) {
            addCriterion("ETL_JOB_TYPE between", value1, value2, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobTypeNotBetween(String value1, String value2) {
            addCriterion("ETL_JOB_TYPE not between", value1, value2, "etlJobType");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyIsNull() {
            addCriterion("ETL_JOB_FREQUENCY is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyIsNotNull() {
            addCriterion("ETL_JOB_FREQUENCY is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyEqualTo(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY =", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY <>", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyGreaterThan(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY >", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY >=", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyLessThan(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY <", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_FREQUENCY <=", value, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyIn(List<Integer> values) {
            addCriterion("ETL_JOB_FREQUENCY in", values, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_FREQUENCY not in", values, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_FREQUENCY between", value1, value2, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobFrequencyNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_FREQUENCY not between", value1, value2, "etlJobFrequency");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeIsNull() {
            addCriterion("ETL_JOB_RECORDSET_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeIsNotNull() {
            addCriterion("ETL_JOB_RECORDSET_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE =", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE <>", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeGreaterThan(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE >", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE >=", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeLessThan(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE <", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_SIZE <=", value, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeIn(List<Integer> values) {
            addCriterion("ETL_JOB_RECORDSET_SIZE in", values, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_RECORDSET_SIZE not in", values, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_RECORDSET_SIZE between", value1, value2, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_RECORDSET_SIZE not between", value1, value2, "etlJobRecordsetSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeIsNull() {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeIsNotNull() {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE =", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE <>", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeGreaterThan(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE >", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE >=", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeLessThan(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE <", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE <=", value, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeIn(List<Integer> values) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE in", values, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE not in", values, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE between", value1, value2, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobRecordsetCommitSizeNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_RECORDSET_COMMIT_SIZE not between", value1, value2, "etlJobRecordsetCommitSize");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoIsNull() {
            addCriterion("ETL_JOB_AUTO is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoIsNotNull() {
            addCriterion("ETL_JOB_AUTO is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoEqualTo(Boolean value) {
            addCriterion("ETL_JOB_AUTO =", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoNotEqualTo(Boolean value) {
            addCriterion("ETL_JOB_AUTO <>", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoGreaterThan(Boolean value) {
            addCriterion("ETL_JOB_AUTO >", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoGreaterThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_AUTO >=", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoLessThan(Boolean value) {
            addCriterion("ETL_JOB_AUTO <", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoLessThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_AUTO <=", value, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoIn(List<Boolean> values) {
            addCriterion("ETL_JOB_AUTO in", values, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoNotIn(List<Boolean> values) {
            addCriterion("ETL_JOB_AUTO not in", values, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_AUTO between", value1, value2, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobAutoNotBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_AUTO not between", value1, value2, "etlJobAuto");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandIsNull() {
            addCriterion("ETL_JOB_DEMAND is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandIsNotNull() {
            addCriterion("ETL_JOB_DEMAND is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandEqualTo(Boolean value) {
            addCriterion("ETL_JOB_DEMAND =", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandNotEqualTo(Boolean value) {
            addCriterion("ETL_JOB_DEMAND <>", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandGreaterThan(Boolean value) {
            addCriterion("ETL_JOB_DEMAND >", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandGreaterThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_DEMAND >=", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandLessThan(Boolean value) {
            addCriterion("ETL_JOB_DEMAND <", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandLessThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_DEMAND <=", value, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandIn(List<Boolean> values) {
            addCriterion("ETL_JOB_DEMAND in", values, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandNotIn(List<Boolean> values) {
            addCriterion("ETL_JOB_DEMAND not in", values, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_DEMAND between", value1, value2, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobDemandNotBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_DEMAND not between", value1, value2, "etlJobDemand");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourIsNull() {
            addCriterion("ETL_JOB_START_HOUR is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourIsNotNull() {
            addCriterion("ETL_JOB_START_HOUR is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_HOUR =", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_HOUR <>", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourGreaterThan(Integer value) {
            addCriterion("ETL_JOB_START_HOUR >", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_HOUR >=", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourLessThan(Integer value) {
            addCriterion("ETL_JOB_START_HOUR <", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_HOUR <=", value, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourIn(List<Integer> values) {
            addCriterion("ETL_JOB_START_HOUR in", values, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_START_HOUR not in", values, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_START_HOUR between", value1, value2, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartHourNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_START_HOUR not between", value1, value2, "etlJobStartHour");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteIsNull() {
            addCriterion("ETL_JOB_START_MINUTE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteIsNotNull() {
            addCriterion("ETL_JOB_START_MINUTE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE =", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE <>", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteGreaterThan(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE >", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE >=", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteLessThan(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE <", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_START_MINUTE <=", value, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteIn(List<Integer> values) {
            addCriterion("ETL_JOB_START_MINUTE in", values, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_START_MINUTE not in", values, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_START_MINUTE between", value1, value2, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobStartMinuteNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_START_MINUTE not between", value1, value2, "etlJobStartMinute");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunIsNull() {
            addCriterion("ETL_JOB_LST_RUN is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunIsNotNull() {
            addCriterion("ETL_JOB_LST_RUN is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunEqualTo(Date value) {
            addCriterion("ETL_JOB_LST_RUN =", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunNotEqualTo(Date value) {
            addCriterion("ETL_JOB_LST_RUN <>", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunGreaterThan(Date value) {
            addCriterion("ETL_JOB_LST_RUN >", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunGreaterThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_LST_RUN >=", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunLessThan(Date value) {
            addCriterion("ETL_JOB_LST_RUN <", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunLessThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_LST_RUN <=", value, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunIn(List<Date> values) {
            addCriterion("ETL_JOB_LST_RUN in", values, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunNotIn(List<Date> values) {
            addCriterion("ETL_JOB_LST_RUN not in", values, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_LST_RUN between", value1, value2, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobLstRunNotBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_LST_RUN not between", value1, value2, "etlJobLstRun");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateIsNull() {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateIsNotNull() {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE =", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateNotEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE <>", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateGreaterThan(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE >", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE >=", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateLessThan(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE <", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE <=", value, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateIn(List<Date> values) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE in", values, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateNotIn(List<Date> values) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE not in", values, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE between", value1, value2, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_CRITERIA_BEGIN_DATE not between", value1, value2, "etlJobCriteriaBeginDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateIsNull() {
            addCriterion("ETL_JOB_CRITERIA_END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateIsNotNull() {
            addCriterion("ETL_JOB_CRITERIA_END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE =", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateNotEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE <>", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateGreaterThan(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE >", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE >=", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateLessThan(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE <", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateLessThanOrEqualTo(Date value) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE <=", value, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateIn(List<Date> values) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE in", values, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateNotIn(List<Date> values) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE not in", values, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE between", value1, value2, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobCriteriaEndDateNotBetween(Date value1, Date value2) {
            addCriterion("ETL_JOB_CRITERIA_END_DATE not between", value1, value2, "etlJobCriteriaEndDate");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderIsNull() {
            addCriterion("ETL_JOB_SORT_ORDER is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderIsNotNull() {
            addCriterion("ETL_JOB_SORT_ORDER is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderEqualTo(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER =", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderNotEqualTo(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER <>", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderGreaterThan(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER >", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER >=", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderLessThan(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER <", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderLessThanOrEqualTo(Integer value) {
            addCriterion("ETL_JOB_SORT_ORDER <=", value, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderIn(List<Integer> values) {
            addCriterion("ETL_JOB_SORT_ORDER in", values, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderNotIn(List<Integer> values) {
            addCriterion("ETL_JOB_SORT_ORDER not in", values, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_SORT_ORDER between", value1, value2, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobSortOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("ETL_JOB_SORT_ORDER not between", value1, value2, "etlJobSortOrder");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveIsNull() {
            addCriterion("ETL_JOB_ACTIVE is null");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveIsNotNull() {
            addCriterion("ETL_JOB_ACTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveEqualTo(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE =", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveNotEqualTo(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE <>", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveGreaterThan(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE >", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveGreaterThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE >=", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveLessThan(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE <", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveLessThanOrEqualTo(Boolean value) {
            addCriterion("ETL_JOB_ACTIVE <=", value, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveIn(List<Boolean> values) {
            addCriterion("ETL_JOB_ACTIVE in", values, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveNotIn(List<Boolean> values) {
            addCriterion("ETL_JOB_ACTIVE not in", values, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_ACTIVE between", value1, value2, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andEtlJobActiveNotBetween(Boolean value1, Boolean value2) {
            addCriterion("ETL_JOB_ACTIVE not between", value1, value2, "etlJobActive");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIsNull() {
            addCriterion("LST_UPT_USER is null");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIsNotNull() {
            addCriterion("LST_UPT_USER is not null");
            return (Criteria) this;
        }

        public Criteria andLstUptUserEqualTo(String value) {
            addCriterion("LST_UPT_USER =", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotEqualTo(String value) {
            addCriterion("LST_UPT_USER <>", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserGreaterThan(String value) {
            addCriterion("LST_UPT_USER >", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserGreaterThanOrEqualTo(String value) {
            addCriterion("LST_UPT_USER >=", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLessThan(String value) {
            addCriterion("LST_UPT_USER <", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLessThanOrEqualTo(String value) {
            addCriterion("LST_UPT_USER <=", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserLike(String value) {
            addCriterion("LST_UPT_USER like", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotLike(String value) {
            addCriterion("LST_UPT_USER not like", value, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserIn(List<String> values) {
            addCriterion("LST_UPT_USER in", values, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotIn(List<String> values) {
            addCriterion("LST_UPT_USER not in", values, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserBetween(String value1, String value2) {
            addCriterion("LST_UPT_USER between", value1, value2, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptUserNotBetween(String value1, String value2) {
            addCriterion("LST_UPT_USER not between", value1, value2, "lstUptUser");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIsNull() {
            addCriterion("LST_UPT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIsNotNull() {
            addCriterion("LST_UPT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeEqualTo(Date value) {
            addCriterion("LST_UPT_TIME =", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotEqualTo(Date value) {
            addCriterion("LST_UPT_TIME <>", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeGreaterThan(Date value) {
            addCriterion("LST_UPT_TIME >", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LST_UPT_TIME >=", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeLessThan(Date value) {
            addCriterion("LST_UPT_TIME <", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeLessThanOrEqualTo(Date value) {
            addCriterion("LST_UPT_TIME <=", value, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeIn(List<Date> values) {
            addCriterion("LST_UPT_TIME in", values, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotIn(List<Date> values) {
            addCriterion("LST_UPT_TIME not in", values, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeBetween(Date value1, Date value2) {
            addCriterion("LST_UPT_TIME between", value1, value2, "lstUptTime");
            return (Criteria) this;
        }

        public Criteria andLstUptTimeNotBetween(Date value1, Date value2) {
            addCriterion("LST_UPT_TIME not between", value1, value2, "lstUptTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table etl_job
     *
     * @mbggenerated do_not_delete_during_merge Tue Feb 15 13:27:26 EST 2011
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table etl_job
     *
     * @mbggenerated Tue Feb 15 13:27:26 EST 2011
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}